Class_name = "CTurret"
object_name = "TurretFelixF2A_3S"

[COCKPIT_LIMITS]
x= -0.2, 0.2
y= -0.07, 0.35
z= -0.7, 0.7
[END]

VisualImage=0,"graphics/planes/FelixF2A/FelixF2A_C3S_Low.mgm",1
VisualImage=1,"graphics/planes/FelixF2A/FelixF2A_C3S.mgm",0
OpenCockpit=false
CollisionBody="graphics/planes/FelixF2A/FelixF2A_C3S.col"

VisualRadius=2.0
CameraRestrict=0.0
mp_site=true

//CollisionBody="graphics/planes/DFWC5/DFWC5_T1.col"

[attach=0]
	position = 0.3, -0.8, 0.0
	object = "LuaScripts/WorldObjects/BotGunnerFelix_b-s-single.txt"
[end]

[attach=1]
	position = 0.0, 0.0, 0.0
	object = "LuaScripts/WorldObjects/TurretRiffle.txt"
[end]

[attach=2]
	position = 0.0, 0.0, 0.0
	object = "LuaScripts/WorldObjects/TurretCamera.txt"
[end]

TargetingScript = "LuaScripts/WorldObjects/Ballistics/BULLET_GER_792x57_SS.bin"

SoundScript="LuaScripts/FelixF2A_T3S.cfg"

gauges_low_cmd=0,0
gauges_low_cmd=1,1
gauges_low_cmd=2,2
gauges_low_cmd=3,3
gauges_low_cmd=4,4
gauges_low_cmd=5,5
gauges_low_cmd=6,6
gauges_med_cmd=0,7
gauges_med_cmd=1,8
gauges_med_cmd=2,9
gauges_med_cmd=3,10

//FetchArgVal= cockpit_arg_num, transfer_number, default_cockpit_arg_val, interpolation_type (clamp - shortest on line scale, wrap - shortest on cyclic scale)
FetchArgVal=60210, 020, 0.82, "Smooth_clamp" //   
FetchArgVal=4301,  021, 0.00, "Smooth_clamp" //  
FetchArgVal=19010, 026, 0.00, "Smooth_clamp" // 

[TurretsPos=1]
	position = 0.372, 0.104191, -0.830
	PosMoveArg = 21000

	// Joints in orientation order!!!

	[Joint=0]
		SectorAngleMin = -90.5
		SectorAngleMax = -89.5

		AngularSpeed   = 30.0
		
		AnimationArgMin = 0.498611111
		AnimationArgMax = 0.501388889

		AnimationArgNum = 21101

		Point = 0.0, 0.0, 0.0
		Axis = 0.0,1.0,0.0

		IsCycled = false
		IsFullAngle = false
		NextLinkedId = 1

		SoundNumber = 1
	[end]

	[Joint=1]
		SectorAngleMin = -25.0
		SectorAngleMax = 45.0
		
		AngularSpeed   = 120.0

		AnimationArgMin = 0.430555556
		AnimationArgMax = 0.625

		AnimationArgNum = 21106

		Point = -0.012355,0.045311,0.0
		Axis  = 0.0, 1.0, 0.0
		
		IsCycled = false

		SoundNumber = 2
		
	[end]

	[Joint=2]
		SectorAngleMin = -50
		SectorAngleMax = 30
		
		AngularSpeed = 120.0

		AnimationArgMin = 0.361111111
		AnimationArgMax = 0.583333333

		AnimationArgNum = 21107
		
		Point = 0,0,0
		Axis  = 0.0, 0.0, 1.0

	[end]

	[GunAnimation=0]
		FireArg = 9040
	[end]

	FireLightArg=60240

	relativeBotStand = -0.52, -0.47, -0.07
	relativeBotSit = -0.52, -0.47, -0.07
	relativeBotDead = -0.52, -0.47, -0.07
	TransitionStandPower = 1
	TransitionDeadPower = 1

	BotAttachJointId = 0
	BotFirstAnimJointId = 2
	BotSecondAnimJointId  = 1
	
	SightPosition = 0.0, 0.5, 0.0
	defaultDirection = 0.0, -0.2, -0.4
	AimSector=0,0,-1,90

	CamDisplacement = -0.25, 0.230, -0.001
[end]

[TurretsPos=2]
	position = 0.370, 0.104191, 0.830
	PosMoveArg = 21000


	// Joints in orientation order!!!

	[Joint=0]
		SectorAngleMin = 89.5
		SectorAngleMax = 90.5

		AngularSpeed   = 30.0
		
		AnimationArgMin = 0.498611111
		AnimationArgMax = 0.501388889

		AnimationArgNum = 21001

		Point = 0.0, 0.0, 0.0
		Axis = 0.0,1.0,0.0

		IsCycled = false
		IsFullAngle = false
		NextLinkedId = 1

		SoundNumber = 1
	[end]

	[Joint=1]
		SectorAngleMin = -45.0
		SectorAngleMax = 17.0
		
		AngularSpeed   = 120.0

		AnimationArgMin = 0.375
		AnimationArgMax = 0.547222222
		
		AnimationArgNum = 21006
		
		Point = -0.012355,0.045311,0.0
		Axis  = 0.0, 1.0, 0.0
		
		IsCycled = false

		SoundNumber = 2

	[end]

	[Joint=2]
		SectorAngleMin = -50
		SectorAngleMax = 30
		
		AngularSpeed   = 120.0

		AnimationArgMin = 0.361111111
		AnimationArgMax = 0.583333333

		AnimationArgNum = 21007
		
		Point = 0,0,0
		Axis  = 0.0, 0.0, 1.0


	[end]

	[GunAnimation=0]
		FireArg = 9040
	[end]

	FireLightArg=60220

	relativeBotStand = -0.52, -0.47, -0.07
	relativeBotSit = -0.52, -0.47, -0.07
	relativeBotDead = -0.52, -0.47, -0.07
	TransitionStandPower = 1
	TransitionDeadPower = 1

	BotAttachJointId = 0
	BotFirstAnimJointId = 2
	BotSecondAnimJointId  = 1

	SightPosition = 0.0, 0.5, 0.0
	defaultDirection = 0.0, -0.2, 0.4
	AimSector=0,0,1,90

	CamDisplacement = -0.25, 0.23, -0.001
[end]

[TurretsGun=1]

	Displacement = 0.6653, 0.0734, 0.0

	GunType = "LuaScripts/WorldObjects/Weapons/Lewis.txt"

	ReLoadingStagesTime = 1.0, 3.0, 1.0, 0.3
 
	MaxRoundsInMagazine = 97
	RoundsInMagazine = 97
	MaxReservedMagazines = 8
	ReservedMagazines = 8
	MaxMisFiresInMagazine = 1
	AmountRoundsWithOneTracer = 3

	GunSoundsIdx = 1
	ShotSoundType = 0
	
	ReservedMagazinesArgIdx = 9181
	FlashAnimationArgIdx = 9040
	TriggerPositionArgIdx = 9000
	RoundsInMagazineArgIdx = 9046
	HideAmmunitionArgIdx = 9045
	ReLoadingArgIdx = 9044
	AzimuthDeviationArgIdx = 9012
	ElevationDeviationArgIdx = 9013
	FiringPinPositionArgIdx = 9016

	BarrelTemperatureDecreaseCorrectionData = 1.0, 4.0, 300.0
	BulletDispertionAngleCorrectionCoefficient = 1.0

	Deviation = 5.2, 1.95, 0.9, 0.02, 0.1, 0.2
	ParallaxDistance = 180.0
	
	NumOfAnimations = 4

	BushCoord = -0.1369, 0.0734, 0.026
	BushSpeed = 0.0, 0.0, 1.0

	BushConfig = "LuaScripts/WorldObjects/Trash/BatchTrashBush.txt"
	
	[bullet=0]
		Config = "LuaScripts/WorldObjects/Ballistics/BULLET_GBR_77x56R_MK7.txt"
	[end]

	[bullet=1]
		Config = "LuaScripts/WorldObjects/Ballistics/BULLET_GBR_77x56R_WMK1_AP.txt"
	[end]

[end]

SightPos = 0.0, 0.1, 0.0
PositionChangeTime = 0.5
ReloadDelay = 0.3
ShootOutSoundID = 0

BotRotaionValueZ = 0	//-2.0
LegsParameter = 0

BotMaxSecondAngle = 43.2
BotMinSecondAngle = -43.2

BotMaxFirstAngle  = -32.4 //         
BotMinFirstAngle  = 29.88

FirstToSecondInterp = 0.0

TotalSectorLimits = 1

//   ,         

SectorLimits0 = -180.0, -110.0, -90.0, +20.0

// Damage

Armor=0 	
LifeRate=500 	
LifeRateFg=5000 
Firing=0.0 
